package org.gd.spring.hibernate.entity;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @author Gorhover
 * @version 1.0-SNAPSHOT
 * @since 2013-10-03 15:04
 */
@Embeddable
@Inheritance
@Access(value = AccessType.PROPERTY)
@MappedSuperclass
public abstract class EmbParent implements Serializable {

    private Boolean enable;

    public EmbParent() {
    }

    public EmbParent(Boolean enable) {
        this.enable = enable;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }
}
